package com.iotechn.unimall.mydata.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.iotechn.unimall.mydata.domain.Super;
import lombok.Data;

@Data
public class UserAndStudentOrTeacher extends Super {

    private String email;

    private String password;

    private String name;

    private String nickname;

    /*
        学生or教师
     */
    @TableField("login_type")
    private Integer loginType;

    private String phone;

    //学生信息
    private String sno;

    private String school;

    private String department;

    private String major;

    private String garde;

    @TableField("class")
    private String myclass;

    private String degree;

    //老师信息
    private String tno;

}
